package net.kleinhenz.droidshop.connector;

import net.kleinhenz.droidshop.system.ObjectCache;

public abstract class CachingResource
{
	protected static final ObjectCache cache = new ObjectCache();
	
	protected Object getCache(String keywords, String locale)
	{
		return cache.getCache(keywords, locale);
	}

	protected void putCache(String keywords, String locale, Object object)
	{
		cache.putCache(keywords, locale, object);
	}
}
